<?php

class ReservasAlquileresTable extends Doctrine_Table
{
	public static function login($order,$id){
		return Doctrine_Query::create()
		->from('ReservasAlquileres r')
		->where('r.dsorder = ?', array($order))
		->andWhere('r.id = ?', array($id))
		->fetchOne();
	}
}
